;; disable left mouse button click paste
(setq  mouse-yank-at-point t)
;; disable middle mouse button click
(global-unset-key (kbd "<mouse-2>"))
;; disable the right mouse button and double click to cut
(fset 'mouse-save-then-kill 'ignore)

;; (global-company-mode)
(require 'company)
(setq company-idle-delay 0.2
      company-minimum-prefix-length 3)

(setq-default truncate-lines nil)
;; (setq-default global-visual-line-mode t)

;; avy-goto-char support zh-char
(ace-pinyin-global-mode +1)

;; change default quoted char radix 8, alter option:10/16
(setq read-quoted-char-radix 16)

;; quit without confirm y-or-n
(setq confirm-kill-emacs nil)

(provide 'init-config)
